package ru.athena.runTool.Model;

import javax.swing.tree.DefaultMutableTreeNode;

@SuppressWarnings("serial")
public class LeafNode extends DefaultMutableTreeNode implements AbstractNode {
	
	/**
	 * @param userObject
	 */
	public LeafNode(Object userObject) {
		super(userObject);
	}

	/* (non-Javadoc)
	 * @see ru.athena.runTool.Model.AbstractNode#accept(ru.athena.runTool.Model.HierarchicalVisitor)
	 */
	public boolean accept( HierarchicalVisitor visitor ) throws Exception {
		return visitor.visit(this);
	}
}
